<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <title>单文件上传</title>
</head>
<body>
<form action="/upload.do/to" method="post" enctype="multipart/form-data">
    <table>
        <tr>
            <td>上传名称</td>
            <td><input type="text" name="name"></td>

        </tr>
        <tr>
            <td></td>
            <td><input type="file" name="fe"></td>

        </tr>
        <tr>
            <td><input type="submit"></td>
        </tr>
    </table>
</form>
<h1>多文件上传</h1>
<form action="/upload.do/multi.do" method="post" enctype="multipart/form-data">
    <table>
        <tr>
            <td>上传名称</td>
            <td><input type="text" name="name"></td>

        </tr>
        <tr>
            <td></td>
            <td><input type="file" name="fs" multiple></td>

        </tr>
        <tr>
            <td><input type="submit"></td>
        </tr>
    </table>
</form>

</body>
</html>
